#ifndef ARHIVE_H
#define ARHIVE_H

#include <QDialog>
//#include <QSqlTableModel>
//#include <QAbstractItemView>
#include <QtSql>

namespace Ui {
class arhive;
}

class arhive : public QDialog
{
    Q_OBJECT

private:
//    quint32 driverIdx;
    
public:
    explicit arhive(QWidget *parent = 0);
    quint32 getHistory(void);
    ~arhive();
    
private:
    Ui::arhive *ui;
    QSqlRelationalTableModel *model_main;

private slots:
    quint32 delHistory();
};

#endif // ARHIVE_H
